package baseObjectDecorator;

import baseObject.IPaddle;
import baseObject.RectObj;

public abstract class PaddleDecorator extends RectObjDecorator implements IPaddle{
	public IPaddle delegate;

	public PaddleDecorator(IPaddle delegate) {
		super((RectObj) delegate);
		this.delegate = delegate;
	}

	public void left() {
		this.delegate.left();
	}


	public void right() {
		this.delegate.right();
	}
}
